Steps to Build and Run the Docker Image
-
Download the domain binary files, PAS Distribution as mentioned in the pre-requisites section of this document.
- Extract the PAS distribution.
- Create a directory named externallibs to place the third-party application libraries, configuration, and the property files required.
-
Copy the downloaded OIPA distribution zip under the externallibs/zip.
-
The default coherence version run on WebLogic should be Coherence GE 14.1.1.2206.7, check if you update to this version as the steps showed in Prerequisites.
-
Ensure you to copy the latest following configuration files from <OIPA distribution zip>/conf directory into the externallibs/conf directory(This step is extremely important):
-
coherence-cache-config.xml
-
coherence-config.xml
-
PAS.properties
-
EDKeyValue.dat
-
logging.properties
-
- Copy the following files from the <OIPA distribution zip>/libs directory into the externallibs directory:
commons-collections4-4.5.0.jar
commons-logging-1.3.6.jar
jakarta.el-api-6.0.1.jar
jakarta.persistence-api-3.2.0.jar
eclipselink-4.0.9.jar
spring-instrument-6.2.18.jar
Download aspectj 1.9.1.jar
- from https://www.eclipse.org/downloads/download.php?file=/tools/aspectj/aspectj-1.9.1.jar
Open aspectj-1.9.1.jar with an unzipping software and retrieve aspectjrt.jar and aspectjweaver.jar from the lib folder.
Copy aspectjrt.jar and aspectjweaver.jar into externallibs sub-directory.
- from https://www.eclipse.org/downloads/download.php?file=/tools/aspectj/aspectj-1.9.1.jar
-
Copy the following jars from the Oracle Installation directory (path as mentioned below) to the externallibs folder.
-
. ../Middleware/Oracle_Home/oracle_common/modules/oracle.osdt/osdt_core.jar.
-
.. ../Middleware/Oracle_Home/oracle_common/modules/oracle.osdt/osdt_cert.jar.
Ensure below cr_libs are placed in externallibs folder. These libs are required for Document Generation functionality.
-
Ensure below cr_libs are placed in externallibs folder. These libs are required for Document Generation functionality.
commons-collections-3.2.2.jar commons-configuration-1.2.jar commons-logging.jar commons-lang-2.1.jar CrystalCommon2.jar CrystalReportsRuntime.jar DatabaseConnectors.jar logging.jar icu4j.jar JDBInterface.jar keycodeDecoder.jar log4j-api.jar log4j-core.jar Note: Rename all the jars without version names. This is to avoid version updates in the Docker script.
Example:
-
commons-collections4.jar
-
commons-logging.jar
-
jakarta.el-api.jar
-
aspectjrt.jar
-
aspectjweaver.jar
-
eclipselink.jar
-
spring-instrument.jar
-
jakarta.persistence.jar
-
osdt_core.jar
-
osdt_cert.jar
-
ojdbc.jar
-
-
-
Deployment of sample.war referenced in scripts is optional and can be commented out. It was provided as an example to include OIPA Extensions (External Client Extensions).
-
If the PAS application is ATP compliant, then copy the required ATP (Autonomous Transaction Processing) database files under the externallibs/shared directory.
The sample folder structure is as follows:
- Under ojdbc folder, copy all the libs to the ojdbc folder
-
Under wallet folder: